public class Animal {
    public String name;
    public int age;

    public void eat(){
        System.out.println(this.name + "正在吃饭...");
    }

    static{
        System.out.println("static :: Animal{}...");
    }

    {
        System.out.println("实例代码块 Animal{}..");
    }

    public Animal(){
        System.out.println("Animal{}..");
    }
}
